import time
class New_time:
	def x(localtime):
		return f'现在是：{localtime[0]} 年{localtime[1]}月{localtime[2]}日 {localtime[3]}:{localtime[4]}:{localtime[5]}'
	def y(str):
		return time.mktime(time.strptime(str,'%Y-%m-%d %H:%M:%S'))